package com.qfedu.aunt.commons.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xiaobobo
 * @title: MenuShowVo
 * @projectName aunt_commons_2209
 * @description: 这个对象就是咋们的菜单展示的这样一个VO
 * @date 2022/11/14  15:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("菜单的显示的Vo")
public class MenuShowVo {
    //菜单唯一的标识
    @ApiModelProperty("菜单id")
    private String id;

    //维护一个权限id
    private String permId;

    //维护一个父亲id
    private String parentId;

    //菜单的名字
    @ApiModelProperty("菜单名字")
    private String label;
    //这个就是菜单的子菜单
    @ApiModelProperty("菜单孩子")
    private List<MenuShowVo> children;
}
